Microsoft Cognitive Language Service - Question Answering - Authoring (preview:2023-04-15)

2025/07/24 • 21 deleted methods

QuestionAnsweringProjects_ListProjects (removed)
Description Gets all projects for a user.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects
{
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetProjectDetails (removed)
Description Get the requested project metadata.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}
{
projectName: string ,
api-version: string ,
}

⚐ Response (200)

{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_CreateProject (removed)
Description Create or update a project.
Reference Link ¶

⚼ Request

PATCH:  /authoring/query-knowledgebases/projects/{projectName}
{
projectName: string ,
body:
{
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}

⚐ Response (201)

{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_DeleteProject (removed)
Description Delete the project.
Reference Link ¶

⚼ Request

DELETE:  /authoring/query-knowledgebases/projects/{projectName}
{
projectName: string ,
api-version: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetDeleteStatus (removed)
Description Gets the status of a Project delete job.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/deletion-jobs/{jobId}
{
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_Export (removed)
Description Export project metadata and assets.
Reference Link ¶

⚼ Request

POST:  /authoring/query-knowledgebases/projects/{projectName}/:export
{
projectName: string ,
api-version: string ,
format: string ,
assetKind: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetExportStatus (removed)
Description Gets the status of an Export job, once job completes, returns the project metadata, and assets.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/export/jobs/{jobId}
{
projectName: string ,
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_Import (removed)
Description Import project assets.
Reference Link ¶

⚼ Request

POST:  /authoring/query-knowledgebases/projects/{projectName}/:import
{
projectName: string ,
api-version: string ,
body:
{
metadata:
{
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
}
,
assets:
{
synonyms:
[
{
alterations:
[
string ,
]
,
}
,
]
,
qnas:
[
string ,
]
,
}
,
fileUri: string ,
}
,
format: string ,
assetKind: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetImportStatus (removed)
Description Gets the status of an Import job.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/import/jobs/{jobId}
{
projectName: string ,
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_DeployProject (removed)
Description Deploy project to production.
Reference Link ¶

⚼ Request

PUT:  /authoring/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}
{
projectName: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetDeployStatus (removed)
Description Gets the status of a Deploy job.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}/jobs/{jobId}
{
projectName: string ,
deploymentName: string ,
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_ListDeployments (removed)
Description List all deployments of a project.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/deployments
{
projectName: string ,
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
deploymentName: string ,
lastDeployedDateTime: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetSynonyms (removed)
Description Gets all the synonyms of a project.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/synonyms
{
projectName: string ,
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
alterations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_UpdateSynonyms (removed)
Description Updates all the synonyms of a project.
Reference Link ¶

⚼ Request

PUT:  /authoring/query-knowledgebases/projects/{projectName}/synonyms
{
projectName: string ,
api-version: string ,
body:
{
value:
[
{
alterations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetSources (removed)
Description Gets all the sources of a project.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/sources
{
projectName: string ,
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_UpdateSources (removed)
Description Updates the sources of a project.
Reference Link ¶

⚼ Request

PATCH:  /authoring/query-knowledgebases/projects/{projectName}/sources
{
projectName: string ,
api-version: string ,
body:
{
op: enum ,
value: string ,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetUpdateSourcesStatus (removed)
Description Gets the status of update sources job.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/sources/jobs/{jobId}
{
projectName: string ,
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetQnas (removed)
Description Gets all the QnAs of a project.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/qnas
{
projectName: string ,
api-version: string ,
source: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_UpdateQnas (removed)
Description Updates the QnAs of a project.
Reference Link ¶

⚼ Request

PATCH:  /authoring/query-knowledgebases/projects/{projectName}/qnas
{
projectName: string ,
api-version: string ,
body:
{
op: enum ,
value:
{
id: integer ,
answer: string ,
source: string ,
questions:
[
string ,
]
,
metadata: object ,
dialog:
{
isContextOnly: boolean ,
prompts:
[
{
displayOrder: integer ,
qnaId: integer ,
qna: string ,
displayText: string ,
}
,
]
,
}
,
activeLearningSuggestions:
[
{
clusterHead: string ,
suggestedQuestions:
[
{
question: string ,
userSuggestedCount: integer ,
autoSuggestedCount: integer ,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_GetUpdateQnasStatus (removed)
Description Gets the status of update QnAs job.
Reference Link ¶

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/qnas/jobs/{jobId}
{
projectName: string ,
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
$schema: string ,
}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
QuestionAnsweringProjects_AddFeedback (removed)
Description Update Active Learning feedback.
Reference Link ¶

⚼ Request

POST:  /authoring/query-knowledgebases/projects/{projectName}/feedback
{
projectName: string ,
api-version: string ,
body:
{
records:
[
{
userId: string ,
userQuestion: string ,
qnaId: integer ,
}
,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}